#define _CRT_SECURE_NO_WARNINGS 1
#include"list.h"

using namespace Study;
void test_1()
{
	List<int> lt;
	lt.push_back(1);
	lt.push_back(2);
	lt.push_back(3);
	lt.push_back(4);

	List<int>::iterator it = lt.begin();
	while (it != lt.end())
	{
		std::cout << *it << " ";
		++it;
	}
	std::cout << std::endl;

}

int main()
{
	test_1();
	
	
	return 0;
}
